import router from '@/router';
import {
	service,
	request
} from '../../../../api/service.js';

export default {
	namespaced: true,
	state: {
		// 用户信息
		andonOperationDialogModel: {
			andonOperationDialog:false,
			childrenid:0
		},
	},
	 mutations: {
		 openAndonOperationDialog(state,model){
			 state.andonOperationDialogModel=model;
		 }
	 },
	
	actions: {
		//加载物料信息
		openAndonOperationDialog({
			dispatch
		}, {
			andonOperationDialog = false,
			childrenid = 0
		} = {}) {
			return {
				andonOperationDialog,
				childrenid
			};
		},
	},

};
